package com.david.course_design.shopping_center.module.goods.goods.mapper;

import com.david.course_design.shopping_center.module.goods.goods.entity.Goods;
import org.apache.ibatis.annotations.Select;
import tk.myBatis.mapper.MyBaseMapper;

public interface GoodsMapper extends MyBaseMapper<Goods> {

    @Select("SELECT * \n" +
            "FROM t_goods\n" +
            "WHERE id = #{ id }")
    Goods selectGoodsById(Integer id);

}